#pragma once

namespace dxroids
{
   class GameSettings
   {

   public:
      
      static GameSettings & Instance();

      bool SoundEnabled() const;
      void SetSoundEnabled(bool _b);

   private:
      
      GameSettings();
      GameSettings(GameSettings const & _settings);

   private:

      static GameSettings settings_;

      bool sound_enabled_;

   };
}

inline bool dxroids::GameSettings::SoundEnabled() const { return sound_enabled_; }
inline void dxroids::GameSettings::SetSoundEnabled(bool _b) { sound_enabled_ = _b; }